.Net Framework > v2.0.50727 > System > Convert > ToByte ToByte(Boolean)
ToByte(Byte)
ToByte(Char)
ToByte(DateTime)
ToByte(Decimal)
ToByte(Double)
ToByte(Int16)
ToByte(Int32)
ToByte(Int64)
ToByte(Object)
ToByte(Object,IFormatProvider)
ToByte(SByte)
ToByte(Single)
ToByte(String)
ToByte(String,IFormatProvider)
ToByte(String,Int32)
ToByte(UInt16)
ToByte(UInt32)
ToByte(UInt64)


ToByte(Boolean)

Category
Method
Description
Converts the value of the specified Boolean value to the equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Byte)

Category
Method
Description
Returns the specified 8-bit unsigned integer; no actual conversion is performed.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueByte
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Char)

Category
Method
Description
Converts the value of the specified Unicode character to the equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueChar
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(DateTime)

Category
Method
Description
Calling this method always throws System.InvalidCastException.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueDateTime
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Decimal)

Category
Method
Description
Converts the value of the specified System.Decimal number to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueDecimal
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Double)

Category
Method
Description
Converts the value of the specified double-precision floating point number to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueDouble
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Int16)

Category
Method
Description
Converts the value of the specified 16-bit signed integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueInt16
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Int32)

Category
Method
Description
Converts the value of the specified 32-bit signed integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Int64)

Category
Method
Description
Converts the value of the specified 64-bit signed integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueInt64
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Object)

Category
Method
Description
Converts the value of the specified System.Object to an 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueObject
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Object,IFormatProvider)

Category
Method
Description
Converts the value of the specified System.Object to an 8-bit unsigned integer using the specified culture-specific formatting information.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueObject
providerIFormatProvider
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(SByte)

Category
Method
Description
Converts the value of the specified 8-bit signed integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueSByte
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(Single)

Category
Method
Description
Converts the value of the specified single-precision floating point number to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueSingle
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(String)

Category
Method
Description
Converts the specified System.String representation of a number to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(String,IFormatProvider)

Category
Method
Description
Converts the specified System.String representation of a number to an equivalent 8-bit signed integer using specified culture-specific formatting information.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueString
providerIFormatProvider
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(String,Int32)

Category
Method
Description
Converts the System.String representation of a number in a specified base to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueString
fromBaseInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(UInt16)

Category
Method
Description
Converts the value of the specified 16-bit unsigned integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueUInt16
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(UInt32)

Category
Method
Description
Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueUInt32
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToByte(UInt64)

Category
Method
Description
Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit unsigned integer.
Type
Byte
Character
public, static
Parameters
NameTypeDescription
valueUInt64
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database